package similan.br16.view;

import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;

import similan.br16.model.UpdateInfo;
import similan.br16.service.ToolbarService;

@ManagedBean(name = "toolbarView")
public class ToolbarView {

	@ManagedProperty(value = "#{toolbarService}")
	private ToolbarService toolbarService;

	public List<UpdateInfo> getAllUpdateInfo() {
		return toolbarService.getAllUpdateInfo();
	}

	public void setToolbarService(ToolbarService toolbarService) {
		this.toolbarService = toolbarService;
	}

}
